package chapter03;

import demo4.Teacher;

public class a {
    Teacher t1 = new Teacher(s:"2023s2004")
    Teacher t2 = new Teacher(s:"2023s2001");
  System.out.println(t1.dep);
  System.out.println(t2.dep);
  System.out.println("**********");
    t1.dep ="宇宙系";
            System.out.println(t1.dep);
            System.out.println(t2.dep);
            System.out.println("静态属性");
            System.out.println(t1.hobby);
            System.out.println(t2.hobby);
    t2.hobby ="美的设计";
            System.out.println("******");
            System.out.println(t1.hobby);
            System.out.println(t2.hobby);
}
